package com.wyait.manage.service;

import com.wyait.manage.pojo.Carousel;
import com.wyait.manage.utils.PageDataResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface CarouselService {
    PageDataResult getCaroutleList(Carousel carousel, Integer page, Integer limit);



    String setCarousel(Carousel carousel);

    String delCarousel(Integer id);

    Map<String, String> save(MultipartFile file);

    List<Carousel> getCarousels();
}
